package com.liveneo.adapter.base.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 物损损失信息 条件工具类
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmLossObjectExample {
    protected String         orderByClause;
    protected boolean        distinct;
    protected List<Criteria> oredCriteria;

    public PrpmLossObjectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 物损损失信息
     * 数据库表：prpm_loss_object
     * 
     * @author fucy
     * @since 2016-06-05
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNull() {
            addCriterion("CaseUuid is null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNotNull() {
            addCriterion("CaseUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidEqualTo(String value) {
            addCriterion("CaseUuid =", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotEqualTo(String value) {
            addCriterion("CaseUuid <>", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThan(String value) {
            addCriterion("CaseUuid >", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThanOrEqualTo(String value) {
            addCriterion("CaseUuid >=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThan(String value) {
            addCriterion("CaseUuid <", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThanOrEqualTo(String value) {
            addCriterion("CaseUuid <=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLike(String value) {
            addCriterion("CaseUuid like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotLike(String value) {
            addCriterion("CaseUuid not like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIn(List<String> values) {
            addCriterion("CaseUuid in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotIn(List<String> values) {
            addCriterion("CaseUuid not in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidBetween(String value1, String value2) {
            addCriterion("CaseUuid between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotBetween(String value1, String value2) {
            addCriterion("CaseUuid not between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNull() {
            addCriterion("CaseNo is null");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNotNull() {
            addCriterion("CaseNo is not null");
            return (Criteria) this;
        }

        public Criteria andCaseNoEqualTo(String value) {
            addCriterion("CaseNo =", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotEqualTo(String value) {
            addCriterion("CaseNo <>", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThan(String value) {
            addCriterion("CaseNo >", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThanOrEqualTo(String value) {
            addCriterion("CaseNo >=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThan(String value) {
            addCriterion("CaseNo <", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThanOrEqualTo(String value) {
            addCriterion("CaseNo <=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLike(String value) {
            addCriterion("CaseNo like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotLike(String value) {
            addCriterion("CaseNo not like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoIn(List<String> values) {
            addCriterion("CaseNo in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotIn(List<String> values) {
            addCriterion("CaseNo not in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoBetween(String value1, String value2) {
            addCriterion("CaseNo between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotBetween(String value1, String value2) {
            addCriterion("CaseNo not between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNull() {
            addCriterion("LossUuid is null");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNotNull() {
            addCriterion("LossUuid is not null");
            return (Criteria) this;
        }

        public Criteria andLossUuidEqualTo(String value) {
            addCriterion("LossUuid =", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotEqualTo(String value) {
            addCriterion("LossUuid <>", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThan(String value) {
            addCriterion("LossUuid >", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThanOrEqualTo(String value) {
            addCriterion("LossUuid >=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThan(String value) {
            addCriterion("LossUuid <", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThanOrEqualTo(String value) {
            addCriterion("LossUuid <=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLike(String value) {
            addCriterion("LossUuid like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotLike(String value) {
            addCriterion("LossUuid not like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidIn(List<String> values) {
            addCriterion("LossUuid in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotIn(List<String> values) {
            addCriterion("LossUuid not in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidBetween(String value1, String value2) {
            addCriterion("LossUuid between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotBetween(String value1, String value2) {
            addCriterion("LossUuid not between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossNameIsNull() {
            addCriterion("LossName is null");
            return (Criteria) this;
        }

        public Criteria andLossNameIsNotNull() {
            addCriterion("LossName is not null");
            return (Criteria) this;
        }

        public Criteria andLossNameEqualTo(String value) {
            addCriterion("LossName =", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameNotEqualTo(String value) {
            addCriterion("LossName <>", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameGreaterThan(String value) {
            addCriterion("LossName >", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameGreaterThanOrEqualTo(String value) {
            addCriterion("LossName >=", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameLessThan(String value) {
            addCriterion("LossName <", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameLessThanOrEqualTo(String value) {
            addCriterion("LossName <=", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameLike(String value) {
            addCriterion("LossName like", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameNotLike(String value) {
            addCriterion("LossName not like", value, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameIn(List<String> values) {
            addCriterion("LossName in", values, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameNotIn(List<String> values) {
            addCriterion("LossName not in", values, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameBetween(String value1, String value2) {
            addCriterion("LossName between", value1, value2, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossNameNotBetween(String value1, String value2) {
            addCriterion("LossName not between", value1, value2, "lossName");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNull() {
            addCriterion("LossType is null");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNotNull() {
            addCriterion("LossType is not null");
            return (Criteria) this;
        }

        public Criteria andLossTypeEqualTo(Byte value) {
            addCriterion("LossType =", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotEqualTo(Byte value) {
            addCriterion("LossType <>", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThan(Byte value) {
            addCriterion("LossType >", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("LossType >=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThan(Byte value) {
            addCriterion("LossType <", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThanOrEqualTo(Byte value) {
            addCriterion("LossType <=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeIn(List<Byte> values) {
            addCriterion("LossType in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotIn(List<Byte> values) {
            addCriterion("LossType not in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeBetween(Byte value1, Byte value2) {
            addCriterion("LossType between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("LossType not between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeIsNull() {
            addCriterion("SurveyorCode is null");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeIsNotNull() {
            addCriterion("SurveyorCode is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeEqualTo(String value) {
            addCriterion("SurveyorCode =", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeNotEqualTo(String value) {
            addCriterion("SurveyorCode <>", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeGreaterThan(String value) {
            addCriterion("SurveyorCode >", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyorCode >=", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeLessThan(String value) {
            addCriterion("SurveyorCode <", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeLessThanOrEqualTo(String value) {
            addCriterion("SurveyorCode <=", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeLike(String value) {
            addCriterion("SurveyorCode like", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeNotLike(String value) {
            addCriterion("SurveyorCode not like", value, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeIn(List<String> values) {
            addCriterion("SurveyorCode in", values, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeNotIn(List<String> values) {
            addCriterion("SurveyorCode not in", values, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeBetween(String value1, String value2) {
            addCriterion("SurveyorCode between", value1, value2, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorCodeNotBetween(String value1, String value2) {
            addCriterion("SurveyorCode not between", value1, value2, "surveyorCode");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameIsNull() {
            addCriterion("SurveyorName is null");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameIsNotNull() {
            addCriterion("SurveyorName is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameEqualTo(String value) {
            addCriterion("SurveyorName =", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameNotEqualTo(String value) {
            addCriterion("SurveyorName <>", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameGreaterThan(String value) {
            addCriterion("SurveyorName >", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyorName >=", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameLessThan(String value) {
            addCriterion("SurveyorName <", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameLessThanOrEqualTo(String value) {
            addCriterion("SurveyorName <=", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameLike(String value) {
            addCriterion("SurveyorName like", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameNotLike(String value) {
            addCriterion("SurveyorName not like", value, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameIn(List<String> values) {
            addCriterion("SurveyorName in", values, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameNotIn(List<String> values) {
            addCriterion("SurveyorName not in", values, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameBetween(String value1, String value2) {
            addCriterion("SurveyorName between", value1, value2, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andSurveyorNameNotBetween(String value1, String value2) {
            addCriterion("SurveyorName not between", value1, value2, "surveyorName");
            return (Criteria) this;
        }

        public Criteria andMobileIsNull() {
            addCriterion("Mobile is null");
            return (Criteria) this;
        }

        public Criteria andMobileIsNotNull() {
            addCriterion("Mobile is not null");
            return (Criteria) this;
        }

        public Criteria andMobileEqualTo(String value) {
            addCriterion("Mobile =", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotEqualTo(String value) {
            addCriterion("Mobile <>", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThan(String value) {
            addCriterion("Mobile >", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileGreaterThanOrEqualTo(String value) {
            addCriterion("Mobile >=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThan(String value) {
            addCriterion("Mobile <", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLessThanOrEqualTo(String value) {
            addCriterion("Mobile <=", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileLike(String value) {
            addCriterion("Mobile like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotLike(String value) {
            addCriterion("Mobile not like", value, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileIn(List<String> values) {
            addCriterion("Mobile in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotIn(List<String> values) {
            addCriterion("Mobile not in", values, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileBetween(String value1, String value2) {
            addCriterion("Mobile between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andMobileNotBetween(String value1, String value2) {
            addCriterion("Mobile not between", value1, value2, "mobile");
            return (Criteria) this;
        }

        public Criteria andLossFeesIsNull() {
            addCriterion("LossFees is null");
            return (Criteria) this;
        }

        public Criteria andLossFeesIsNotNull() {
            addCriterion("LossFees is not null");
            return (Criteria) this;
        }

        public Criteria andLossFeesEqualTo(BigDecimal value) {
            addCriterion("LossFees =", value, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesNotEqualTo(BigDecimal value) {
            addCriterion("LossFees <>", value, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesGreaterThan(BigDecimal value) {
            addCriterion("LossFees >", value, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LossFees >=", value, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesLessThan(BigDecimal value) {
            addCriterion("LossFees <", value, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LossFees <=", value, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesIn(List<BigDecimal> values) {
            addCriterion("LossFees in", values, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesNotIn(List<BigDecimal> values) {
            addCriterion("LossFees not in", values, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LossFees between", value1, value2, "lossFees");
            return (Criteria) this;
        }

        public Criteria andLossFeesNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LossFees not between", value1, value2, "lossFees");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyIsNull() {
            addCriterion("ThRecoveryDuty is null");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyIsNotNull() {
            addCriterion("ThRecoveryDuty is not null");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyEqualTo(String value) {
            addCriterion("ThRecoveryDuty =", value, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyNotEqualTo(String value) {
            addCriterion("ThRecoveryDuty <>", value, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyGreaterThan(String value) {
            addCriterion("ThRecoveryDuty >", value, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyGreaterThanOrEqualTo(String value) {
            addCriterion("ThRecoveryDuty >=", value, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyLessThan(String value) {
            addCriterion("ThRecoveryDuty <", value, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyLessThanOrEqualTo(String value) {
            addCriterion("ThRecoveryDuty <=", value, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyLike(String value) {
            addCriterion("ThRecoveryDuty like", value, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyNotLike(String value) {
            addCriterion("ThRecoveryDuty not like", value, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyIn(List<String> values) {
            addCriterion("ThRecoveryDuty in", values, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyNotIn(List<String> values) {
            addCriterion("ThRecoveryDuty not in", values, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyBetween(String value1, String value2) {
            addCriterion("ThRecoveryDuty between", value1, value2, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andThRecoveryDutyNotBetween(String value1, String value2) {
            addCriterion("ThRecoveryDuty not between", value1, value2, "thRecoveryDuty");
            return (Criteria) this;
        }

        public Criteria andInsCompanyIsNull() {
            addCriterion("InsCompany is null");
            return (Criteria) this;
        }

        public Criteria andInsCompanyIsNotNull() {
            addCriterion("InsCompany is not null");
            return (Criteria) this;
        }

        public Criteria andInsCompanyEqualTo(String value) {
            addCriterion("InsCompany =", value, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyNotEqualTo(String value) {
            addCriterion("InsCompany <>", value, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyGreaterThan(String value) {
            addCriterion("InsCompany >", value, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("InsCompany >=", value, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyLessThan(String value) {
            addCriterion("InsCompany <", value, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyLessThanOrEqualTo(String value) {
            addCriterion("InsCompany <=", value, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyLike(String value) {
            addCriterion("InsCompany like", value, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyNotLike(String value) {
            addCriterion("InsCompany not like", value, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyIn(List<String> values) {
            addCriterion("InsCompany in", values, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyNotIn(List<String> values) {
            addCriterion("InsCompany not in", values, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyBetween(String value1, String value2) {
            addCriterion("InsCompany between", value1, value2, "insCompany");
            return (Criteria) this;
        }

        public Criteria andInsCompanyNotBetween(String value1, String value2) {
            addCriterion("InsCompany not between", value1, value2, "insCompany");
            return (Criteria) this;
        }

        public Criteria andBelongsIsNull() {
            addCriterion("Belongs is null");
            return (Criteria) this;
        }

        public Criteria andBelongsIsNotNull() {
            addCriterion("Belongs is not null");
            return (Criteria) this;
        }

        public Criteria andBelongsEqualTo(String value) {
            addCriterion("Belongs =", value, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsNotEqualTo(String value) {
            addCriterion("Belongs <>", value, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsGreaterThan(String value) {
            addCriterion("Belongs >", value, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsGreaterThanOrEqualTo(String value) {
            addCriterion("Belongs >=", value, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsLessThan(String value) {
            addCriterion("Belongs <", value, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsLessThanOrEqualTo(String value) {
            addCriterion("Belongs <=", value, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsLike(String value) {
            addCriterion("Belongs like", value, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsNotLike(String value) {
            addCriterion("Belongs not like", value, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsIn(List<String> values) {
            addCriterion("Belongs in", values, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsNotIn(List<String> values) {
            addCriterion("Belongs not in", values, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsBetween(String value1, String value2) {
            addCriterion("Belongs between", value1, value2, "belongs");
            return (Criteria) this;
        }

        public Criteria andBelongsNotBetween(String value1, String value2) {
            addCriterion("Belongs not between", value1, value2, "belongs");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceIsNull() {
            addCriterion("IfInsurance is null");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceIsNotNull() {
            addCriterion("IfInsurance is not null");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceEqualTo(String value) {
            addCriterion("IfInsurance =", value, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceNotEqualTo(String value) {
            addCriterion("IfInsurance <>", value, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceGreaterThan(String value) {
            addCriterion("IfInsurance >", value, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceGreaterThanOrEqualTo(String value) {
            addCriterion("IfInsurance >=", value, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceLessThan(String value) {
            addCriterion("IfInsurance <", value, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceLessThanOrEqualTo(String value) {
            addCriterion("IfInsurance <=", value, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceLike(String value) {
            addCriterion("IfInsurance like", value, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceNotLike(String value) {
            addCriterion("IfInsurance not like", value, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceIn(List<String> values) {
            addCriterion("IfInsurance in", values, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceNotIn(List<String> values) {
            addCriterion("IfInsurance not in", values, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceBetween(String value1, String value2) {
            addCriterion("IfInsurance between", value1, value2, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andIfInsuranceNotBetween(String value1, String value2) {
            addCriterion("IfInsurance not between", value1, value2, "ifInsurance");
            return (Criteria) this;
        }

        public Criteria andPolicyNumIsNull() {
            addCriterion("PolicyNum is null");
            return (Criteria) this;
        }

        public Criteria andPolicyNumIsNotNull() {
            addCriterion("PolicyNum is not null");
            return (Criteria) this;
        }

        public Criteria andPolicyNumEqualTo(String value) {
            addCriterion("PolicyNum =", value, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumNotEqualTo(String value) {
            addCriterion("PolicyNum <>", value, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumGreaterThan(String value) {
            addCriterion("PolicyNum >", value, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumGreaterThanOrEqualTo(String value) {
            addCriterion("PolicyNum >=", value, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumLessThan(String value) {
            addCriterion("PolicyNum <", value, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumLessThanOrEqualTo(String value) {
            addCriterion("PolicyNum <=", value, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumLike(String value) {
            addCriterion("PolicyNum like", value, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumNotLike(String value) {
            addCriterion("PolicyNum not like", value, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumIn(List<String> values) {
            addCriterion("PolicyNum in", values, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumNotIn(List<String> values) {
            addCriterion("PolicyNum not in", values, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumBetween(String value1, String value2) {
            addCriterion("PolicyNum between", value1, value2, "policyNum");
            return (Criteria) this;
        }

        public Criteria andPolicyNumNotBetween(String value1, String value2) {
            addCriterion("PolicyNum not between", value1, value2, "policyNum");
            return (Criteria) this;
        }

        public Criteria andLossNumIsNull() {
            addCriterion("LossNum is null");
            return (Criteria) this;
        }

        public Criteria andLossNumIsNotNull() {
            addCriterion("LossNum is not null");
            return (Criteria) this;
        }

        public Criteria andLossNumEqualTo(Byte value) {
            addCriterion("LossNum =", value, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumNotEqualTo(Byte value) {
            addCriterion("LossNum <>", value, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumGreaterThan(Byte value) {
            addCriterion("LossNum >", value, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumGreaterThanOrEqualTo(Byte value) {
            addCriterion("LossNum >=", value, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumLessThan(Byte value) {
            addCriterion("LossNum <", value, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumLessThanOrEqualTo(Byte value) {
            addCriterion("LossNum <=", value, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumIn(List<Byte> values) {
            addCriterion("LossNum in", values, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumNotIn(List<Byte> values) {
            addCriterion("LossNum not in", values, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumBetween(Byte value1, Byte value2) {
            addCriterion("LossNum between", value1, value2, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNumNotBetween(Byte value1, Byte value2) {
            addCriterion("LossNum not between", value1, value2, "lossNum");
            return (Criteria) this;
        }

        public Criteria andLossNotesIsNull() {
            addCriterion("LossNotes is null");
            return (Criteria) this;
        }

        public Criteria andLossNotesIsNotNull() {
            addCriterion("LossNotes is not null");
            return (Criteria) this;
        }

        public Criteria andLossNotesEqualTo(String value) {
            addCriterion("LossNotes =", value, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesNotEqualTo(String value) {
            addCriterion("LossNotes <>", value, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesGreaterThan(String value) {
            addCriterion("LossNotes >", value, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesGreaterThanOrEqualTo(String value) {
            addCriterion("LossNotes >=", value, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesLessThan(String value) {
            addCriterion("LossNotes <", value, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesLessThanOrEqualTo(String value) {
            addCriterion("LossNotes <=", value, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesLike(String value) {
            addCriterion("LossNotes like", value, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesNotLike(String value) {
            addCriterion("LossNotes not like", value, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesIn(List<String> values) {
            addCriterion("LossNotes in", values, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesNotIn(List<String> values) {
            addCriterion("LossNotes not in", values, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesBetween(String value1, String value2) {
            addCriterion("LossNotes between", value1, value2, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andLossNotesNotBetween(String value1, String value2) {
            addCriterion("LossNotes not between", value1, value2, "lossNotes");
            return (Criteria) this;
        }

        public Criteria andContactIsNull() {
            addCriterion("Contact is null");
            return (Criteria) this;
        }

        public Criteria andContactIsNotNull() {
            addCriterion("Contact is not null");
            return (Criteria) this;
        }

        public Criteria andContactEqualTo(String value) {
            addCriterion("Contact =", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotEqualTo(String value) {
            addCriterion("Contact <>", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThan(String value) {
            addCriterion("Contact >", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactGreaterThanOrEqualTo(String value) {
            addCriterion("Contact >=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThan(String value) {
            addCriterion("Contact <", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLessThanOrEqualTo(String value) {
            addCriterion("Contact <=", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactLike(String value) {
            addCriterion("Contact like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotLike(String value) {
            addCriterion("Contact not like", value, "contact");
            return (Criteria) this;
        }

        public Criteria andContactIn(List<String> values) {
            addCriterion("Contact in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotIn(List<String> values) {
            addCriterion("Contact not in", values, "contact");
            return (Criteria) this;
        }

        public Criteria andContactBetween(String value1, String value2) {
            addCriterion("Contact between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactNotBetween(String value1, String value2) {
            addCriterion("Contact not between", value1, value2, "contact");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNull() {
            addCriterion("ContactPhone is null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIsNotNull() {
            addCriterion("ContactPhone is not null");
            return (Criteria) this;
        }

        public Criteria andContactPhoneEqualTo(String value) {
            addCriterion("ContactPhone =", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotEqualTo(String value) {
            addCriterion("ContactPhone <>", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThan(String value) {
            addCriterion("ContactPhone >", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("ContactPhone >=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThan(String value) {
            addCriterion("ContactPhone <", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLessThanOrEqualTo(String value) {
            addCriterion("ContactPhone <=", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneLike(String value) {
            addCriterion("ContactPhone like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotLike(String value) {
            addCriterion("ContactPhone not like", value, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneIn(List<String> values) {
            addCriterion("ContactPhone in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotIn(List<String> values) {
            addCriterion("ContactPhone not in", values, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneBetween(String value1, String value2) {
            addCriterion("ContactPhone between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andContactPhoneNotBetween(String value1, String value2) {
            addCriterion("ContactPhone not between", value1, value2, "contactPhone");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIsNull() {
            addCriterion("DelegateReamrk is null");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIsNotNull() {
            addCriterion("DelegateReamrk is not null");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkEqualTo(String value) {
            addCriterion("DelegateReamrk =", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotEqualTo(String value) {
            addCriterion("DelegateReamrk <>", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkGreaterThan(String value) {
            addCriterion("DelegateReamrk >", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkGreaterThanOrEqualTo(String value) {
            addCriterion("DelegateReamrk >=", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLessThan(String value) {
            addCriterion("DelegateReamrk <", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLessThanOrEqualTo(String value) {
            addCriterion("DelegateReamrk <=", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkLike(String value) {
            addCriterion("DelegateReamrk like", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotLike(String value) {
            addCriterion("DelegateReamrk not like", value, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkIn(List<String> values) {
            addCriterion("DelegateReamrk in", values, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotIn(List<String> values) {
            addCriterion("DelegateReamrk not in", values, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkBetween(String value1, String value2) {
            addCriterion("DelegateReamrk between", value1, value2, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andDelegateReamrkNotBetween(String value1, String value2) {
            addCriterion("DelegateReamrk not between", value1, value2, "delegateReamrk");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("CreateBy is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("CreateBy is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("CreateBy =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("CreateBy <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("CreateBy >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("CreateBy >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("CreateBy <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("CreateBy <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("CreateBy like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("CreateBy not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("CreateBy in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("CreateBy not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("CreateBy between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("CreateBy not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("UpdateBy is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("UpdateBy is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("UpdateBy =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("UpdateBy <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("UpdateBy >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("UpdateBy >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("UpdateBy <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("UpdateBy <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("UpdateBy like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("UpdateBy not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("UpdateBy in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("UpdateBy not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("UpdateBy between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("UpdateBy not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andN1IsNull() {
            addCriterion("N1 is null");
            return (Criteria) this;
        }

        public Criteria andN1IsNotNull() {
            addCriterion("N1 is not null");
            return (Criteria) this;
        }

        public Criteria andN1EqualTo(String value) {
            addCriterion("N1 =", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotEqualTo(String value) {
            addCriterion("N1 <>", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThan(String value) {
            addCriterion("N1 >", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThanOrEqualTo(String value) {
            addCriterion("N1 >=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThan(String value) {
            addCriterion("N1 <", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThanOrEqualTo(String value) {
            addCriterion("N1 <=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Like(String value) {
            addCriterion("N1 like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotLike(String value) {
            addCriterion("N1 not like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1In(List<String> values) {
            addCriterion("N1 in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotIn(List<String> values) {
            addCriterion("N1 not in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Between(String value1, String value2) {
            addCriterion("N1 between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotBetween(String value1, String value2) {
            addCriterion("N1 not between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN2IsNull() {
            addCriterion("N2 is null");
            return (Criteria) this;
        }

        public Criteria andN2IsNotNull() {
            addCriterion("N2 is not null");
            return (Criteria) this;
        }

        public Criteria andN2EqualTo(String value) {
            addCriterion("N2 =", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotEqualTo(String value) {
            addCriterion("N2 <>", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThan(String value) {
            addCriterion("N2 >", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThanOrEqualTo(String value) {
            addCriterion("N2 >=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThan(String value) {
            addCriterion("N2 <", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThanOrEqualTo(String value) {
            addCriterion("N2 <=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Like(String value) {
            addCriterion("N2 like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotLike(String value) {
            addCriterion("N2 not like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2In(List<String> values) {
            addCriterion("N2 in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotIn(List<String> values) {
            addCriterion("N2 not in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Between(String value1, String value2) {
            addCriterion("N2 between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotBetween(String value1, String value2) {
            addCriterion("N2 not between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN3IsNull() {
            addCriterion("N3 is null");
            return (Criteria) this;
        }

        public Criteria andN3IsNotNull() {
            addCriterion("N3 is not null");
            return (Criteria) this;
        }

        public Criteria andN3EqualTo(String value) {
            addCriterion("N3 =", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotEqualTo(String value) {
            addCriterion("N3 <>", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThan(String value) {
            addCriterion("N3 >", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThanOrEqualTo(String value) {
            addCriterion("N3 >=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThan(String value) {
            addCriterion("N3 <", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThanOrEqualTo(String value) {
            addCriterion("N3 <=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Like(String value) {
            addCriterion("N3 like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotLike(String value) {
            addCriterion("N3 not like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3In(List<String> values) {
            addCriterion("N3 in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotIn(List<String> values) {
            addCriterion("N3 not in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Between(String value1, String value2) {
            addCriterion("N3 between", value1, value2, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotBetween(String value1, String value2) {
            addCriterion("N3 not between", value1, value2, "n3");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table prpm_loss_object
     *
     * @mbggenerated do_not_delete_during_merge Tue Jun 07 10:21:44 CST 2016
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * 物损损失信息
     * 数据库表：prpm_loss_object
     * 
     * @author fucy
     * @since 2016-06-05
     */
    public static class Criterion {
        private String  condition;
        private Object  value;
        private Object  secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String  typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}